Optimal. Leaf size=17 \[ -\frac {\sec (e+f x) \tan (e+f x)}{f} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 17, normalized size of antiderivative = 1.00, number of steps
used = 1, number of rules used = 1, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.053, Rules used = {4128}
\begin {gather*} -\frac {\tan (e+f x) \sec (e+f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 4128
Rubi steps
\begin {align*} \int \sec (e+f x) \left (1-2 \sec ^2(e+f x)\right ) \, dx &=-\frac {\sec (e+f x) \tan (e+f x)}{f}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.01, size = 17, normalized size = 1.00 \begin {gather*} -\frac {\sec (e+f x) \tan (e+f x)}{f} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.30, size = 18, normalized size = 1.06
method | result | size |
derivativedivides | \(-\frac {\sec \left (f x +e \right ) \tan \left (f x +e \right )}{f}\) | \(18\) |
default | \(-\frac {\sec \left (f x +e \right ) \tan \left (f x +e \right )}{f}\) | \(18\) |
risch | \(\frac {2 i \left ({\mathrm e}^{3 i \left (f x +e \right )}-{\mathrm e}^{i \left (f x +e \right )}\right )}{f \left ({\mathrm e}^{2 i \left (f x +e \right )}+1\right )^{2}}\) | \(41\) |
norman | \(\frac {-\frac {2 \tan \left (\frac {f x}{2}+\frac {e}{2}\right )}{f}-\frac {2 \left (\tan ^{3}\left (\frac {f x}{2}+\frac {e}{2}\right )\right )}{f}}{\left (\tan ^{2}\left (\frac {f x}{2}+\frac {e}{2}\right )-1\right )^{2}}\) | \(48\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.29, size = 24, normalized size = 1.41 \begin {gather*} \frac {\sin \left (f x + e\right )}{{\left (\sin \left (f x + e\right )^{2} - 1\right )} f} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 3.74, size = 21, normalized size = 1.24 \begin {gather*} -\frac {\sin \left (f x + e\right )}{f \cos \left (f x + e\right )^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} - \int \left (- \sec {\left (e + f x \right )}\right )\, dx - \int 2 \sec ^{3}{\left (e + f x \right )}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.45, size = 24, normalized size = 1.41 \begin {gather*} -\frac {1}{f {\left (\frac {1}{\sin \left (f x + e\right )} - \sin \left (f x + e\right )\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.06, size = 22, normalized size = 1.29 \begin {gather*} \frac {\sin \left (e+f\,x\right )}{f\,\left ({\sin \left (e+f\,x\right )}^2-1\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________